package com.ply.flashsalessystem.entity.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Value;

/**
 * <p>
 *
 * </p>
 *
 * @author XiaoPan
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OrderForGoodsDetaile对象", description = "")
public class OrderForGoodsDetaile implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "订单明细id")
    @TableId(value = "org_d_id", type = IdType.AUTO)
    public Integer orgDId;

    @ApiModelProperty(value = "订单id")
    public Integer ofgId;

    @ApiModelProperty(value = "商品id")
    public Integer goodsId;

    @ApiModelProperty(value = "订单数量")
    public double goodsOrderNums;

    @ApiModelProperty(value = "实际数量")
    public double goodsRealNums;

    @ApiModelProperty(value = "应付金额")
    public double amountDue;

    @ApiModelProperty(value = "已付金额")
    public double amountPaid;

    @ApiModelProperty(value = "已退金额")
    public double amountReturn;

    @ApiModelProperty(value = "创建时间")
    public Date createTime;

    @ApiModelProperty(value = "状态")
    public Integer status;

    @ApiModelProperty(value = "单价")
    public Double price;

    @ApiModelProperty(value = "是否参加活动")
    public Integer isActivity;

    @ApiModelProperty(value = "总价格(原价)")
    public Double amountOriginal;

    @ApiModelProperty(value = "活动名称 可以null")
    public String activityName;

    @ApiModelProperty(value = "折扣 金额")
    public Double discountAmount;

    @ApiModelProperty(value = "活动类型 0折扣")
    public Integer activityAway;


}
